/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Business;

import Entity.Etbl_Locations;
import Model.DALtbl_Locations;
import java.util.ArrayList;

/**
 *
 * @author MrKoi
 */
public class Btbl_Locations {
    private DALtbl_Locations _objDALtbl_Locations=null;

    public Btbl_Locations() {
        _objDALtbl_Locations=new DALtbl_Locations();
    }
    
    public boolean addtbl_Locations(Etbl_Locations obj){
        return _objDALtbl_Locations.addtbl_Locations(obj);
    }
      
    public boolean edittbl_Locations(Etbl_Locations obj){
        return _objDALtbl_Locations.edittbl_Locations(obj);
    }
      
    public boolean deletetbl_Locations(int locations_Id){
       return _objDALtbl_Locations.deletetbl_Locations(locations_Id);
    }
    
    public Etbl_Locations getOnetbl_Locations(int locations_Id){
       return _objDALtbl_Locations.getOnetbl_Locations(locations_Id);
    }
      
    public ArrayList getListLocations(String orderBy, String ASCorDESC, String WhereClause, int PagingIndex, int PagingSize){
       return  _objDALtbl_Locations.getListLocations(orderBy, ASCorDESC, WhereClause, PagingIndex, PagingSize);
    }
}
